package com.fenghongzhang.day005test2.contract;

import com.fenghongzhang.day005test2.entity.User;
import com.fenghongzhang.mvp_lib.model.IModel;
import com.fenghongzhang.mvp_lib.view.IView;

import io.reactivex.Observer;

public interface UserContract {

    interface IUserModel extends IModel {
        void register(String name,String pwd,Observer<User> observer);
    }

    interface IUserView extends IView {
        String getName();
        String getPwd();

        void ShowMsg(User s);

    }
}
